package com.bestescortbedsystem.dao;

import com.bestescortbedsystem.entity.SesBedMessage;
import com.bestescortbedsystem.entity.SesBedMessageExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/**
 * @author guanzepeng
 */
public interface SesBedMessageDao {
    long countByExample(SesBedMessageExample example);

    int deleteByExample(SesBedMessageExample example);

    int deleteByPrimaryKey(Long bedmessageid);

    int insert(SesBedMessage record);

    int insertSelective(SesBedMessage record);

    List<SesBedMessage> selectByExampleWithBLOBs(SesBedMessageExample example);

    List<SesBedMessage> selectByExample(SesBedMessageExample example);

    SesBedMessage selectByPrimaryKey(Long bedmessageid);

    int updateByExampleSelective(@Param("record") SesBedMessage record, @Param("example") SesBedMessageExample example);

    int updateByExampleWithBLOBs(@Param("record") SesBedMessage record, @Param("example") SesBedMessageExample example);

    int updateByExample(@Param("record") SesBedMessage record, @Param("example") SesBedMessageExample example);

    int updateByPrimaryKeySelective(SesBedMessage record);

    int updateByPrimaryKeyWithBLOBs(SesBedMessage record);

    int updateByPrimaryKey(SesBedMessage record);

    List<SesBedMessage> selectByuserId(Long userId);
}
